package com.itheima.entity;

import java.io.Serial;
import java.io.Serializable;

public class Cat extends Animal implements Serializable {
    public Cat() {
        super();
    }

    public Cat(String name, int age, String color) {
        super(name, age, color);
    }

    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }
}
